package wxy.studentmanage.mapper;

import org.apache.ibatis.annotations.Param;
import wxy.studentmanage.bean.Student;
import wxy.studentmanage.bean.Users;

import java.util.List;

public interface StudMapper {
    List<Student> queryAllStud();

    int addStudent(Student student);

    int deleteStudById(int wxy_id);

    Student queryStudById(int wxy_id);

    int updateStud(Student student);

    Student queryName(String wxy_username);

    Student login(@Param("wxy_username")String wxy_username,
                  @Param("wxy_password")String wxy_password);

//    Student queryName(String wxy_username);
}
